#include <iostream>
#include <string>
#include <vector>
using namespace std;

class Sol {
    public:
        //Глава 2
        string exercise_1(){//напишите имя и адресс
            string name = "Vasia Pupkin";
            string adress = "Nagrand, Arena";
            string some = name + adress;
        return some;
        }
        int exercise_2(){
            int farlong;
            cout << "Enter farlong: " << endl;
            cin >> farlong;
        return farlong*220;
        }
        void exercise_3_1(){
            cout << "Three blind mice" << endl;
        }
        void exercise_3_2(){
            cout << "See how they run" << endl;
        }
        void exercise_4(){
            int age;
            cout << "Enter ur age: ";
            cin >> age;
            cout << "Ur age in months is " << age*12 << endl;
        }
        void exercise_5(){
            int celc, farh;
            cout << "Pls enter a Celsius value: ";
            cin >> celc;
            farh = 1.8 * (double)celc + 32.0;
            cout << celc << " degrees Celsius is " << (int)farh << " degrees Fahrenheit." << endl;
        }
        void exercise_6(){
            double l_year, ae;
            cout << "Enter the number of light years: ";
            cin >> l_year;
            ae = l_year * 63240;
            cout << l_year << " light years = " << ae << " astronomical units." << endl;
        }
        void exercise_7(int h, int m){
            cout << "Time: " << h << ":" << m << endl;
        }

};

int main(){
    Sol sol;
    //cout << sol.exercise_4() << endl;
    /*sol.exercise_3_1();
    sol.exercise_3_1();
    sol.exercise_3_2();
    sol.exercise_3_2();*/
    //sol.exercise_4();
    //sol.exercise_6();
    int h, m;
    cout << "Enter the number of hours: ";
    cin >> h;
    cout << "Enter the number of minutes: ";
    cin >> m;
    sol.exercise_7(h, m);

    return EXIT_SUCCESS;
}
